package com.example.drive.material.mapper;

import com.example.drive.coach.pojo.entity.Check;
import com.example.drive.coach.pojo.entity.Register;
import com.example.drive.material.pojo.Material;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MaterialMapper {

    List<Material> getList();

    Material getById(Integer id);

    int deleteMaterial(Integer id);

    List<Check> getList1();

    int deleteCheck(Integer id);

    Check getById1(Integer id);

    List<Register> getList2();

    Register getById2(Integer id);

    int deleteRegister(Integer id);
}
